package client.inventory;

public enum ItemFlag2 {
    notSale(16),
    pickUpBlock(64),
    only(128),
    accountSharable(256),
    tradeBlock(1024);

    private int i;

    private ItemFlag2(int i) {
        this.i = i;
    }

    public int getValue() {
        return this.i;
    }

    public boolean check(int flag) {
        return (flag & this.i) == this.i;
    }
}
